package com.open.cloud.rbac.mapper.application;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.cloud.rbac.entity.application.CoreApplicationModule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 应用模块表 Mapper 接口
 * </p>
 *
 * @author wangzengzhou01
 * @since 2024-12-23
 */
@Mapper
public interface CoreApplicationModuleMapper extends BaseMapper<CoreApplicationModule> {
    /**
     * 批量插入应用接口
     *
     * @param list
     * @return
     */
    public Integer batchInsertModuleInterface(@Param("list") List<CoreApplicationModule> list);

    /**
     * 删除接口
     *
     * @param requestServer
     * @return
     */
    public Integer deleteInterfaceByRequestServer(@Param("requestServer") String requestServer);
}
